package com.zoweunion.mechanic.model.app;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * @author zhangjun
 * @describe 客户完成任务记录表
 */
public class TaskCustomerRecord implements Serializable {

    private static final long serialVersionUID = 1731189612784282935L;

    private String id;
    /** 任务id */
    private String taskId;
    /** 任务完成人 */
    private String userId;
    /** 完成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String completeTime;
    /** 更新人 */
    private String updateUser;
    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updateTime;
    /** 删除标志 */
    private String deleteFlag;

    // 非数据库字段
    /** 任务配置 */
    private TaskConfig taskConfig;

    /** 是否完成 */
    private Boolean isCompleted;

    /** 完成次数 */
    private Integer completedTimes;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCompleteTime() {
        return completeTime;
    }

    public void setCompleteTime(String completeTime) {
        this.completeTime = completeTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public TaskConfig getTaskConfig() {
        return taskConfig;
    }

    public void setTaskConfig(TaskConfig taskConfig) {
        this.taskConfig = taskConfig;
    }

    public Boolean getIsCompleted() {
        return isCompleted;
    }

    public void setIsCompleted(Boolean completed) {
        isCompleted = completed;
    }

    public Integer getCompletedTimes() {
        return completedTimes;
    }

    public void setCompletedTimes(Integer completedTimes) {
        this.completedTimes = completedTimes;
    }
}
